<%
    String username = (String)session.getAttribute("username");
    if(username != null)
	{
		session.removeAttribute("username");
		response.sendRedirect("login.jsp");        
	}
	else 
	{
		out.println("Nie jestes zalogowany! <a href=\"login.jsp\">Powrot</a>");
	}
%>  
